#!/bin/sh

set -e

GROUP=wireshark

if [ "$1" = "purge" ] ; then
      if getent group $GROUP >/dev/null; then
                if [ -x /usr/sbin/delgroup ]; then
                        echo "Removing wireshark group..."
                        delgroup --system $GROUP || echo "Could not remove wireshark group."
                fi
        fi
fi

#DEBHELPER#
